<? if ($this->session->flashdata('error')): ?>
<div class="message message-error">
	<h6>Lỗi</h6>
	<p><?= $this->session->flashdata('error'); ?></p>
</div>
<? endif; ?>

<? if (!empty($this->validation->error_string)): ?>
	<div class="message message-error">
		<h6>Lỗi</h6>
		<p><?= $this->validation->error_string; ?></p>
	</div>
<? endif; ?>

<? if ($this->session->flashdata('success')): ?>
	<div class="message message-success">
		<h6>Thành công</h6>
		<p><?= $this->session->flashdata('success'); ?></p>
	</div>
<? endif; ?>